package com.sixth.controller;

import com.sixth.service.OutitStaffService;
import com.sixth.util.TableLayUi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: project01
 * @description:
 * @author: 高振杨
 * @create: 2021-12-18 15:25
 **/
@RestController
@RequestMapping("/outitstaff")
public class OutitStaffController {
    @Autowired
    private OutitStaffService staffService;
    @RequestMapping("/listByCondition")
    public TableLayUi listByCondition(int page, int limit, String staffname, Integer staffid){
        return staffService.findStaffBycondition(page, limit, staffname, staffid);
    }
}
